package com.qihetimes.earthangel.model.vo;

import com.qihetimes.earthangel.model.Goods;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 物品展示对象
 *
 * @author ：f4cklangzi@gmail.com
 * @date ：Created At 2021/12/12
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class GoodsVO extends Goods {
    
    @ApiModelProperty(value = "上传人信息")
    private UserVO user;
    
    @ApiModelProperty("图片列表")
    private List<String> photoUrlList;
    
    @ApiModelProperty("距离 米")
    private Double distance;
    
    @ApiModelProperty("是否点赞")
    private Boolean likeFlag;
    
    @ApiModelProperty("是否收藏")
    private Boolean favoriteFlag;
    
    @ApiModelProperty("评论列表")
    private List<GoodsCommentVO> commentList;
}
